﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using FacebookAPI.FacebookProperties;

namespace FacebookAPI.Objects
{
    [DataContract]
    public class FacebookThread : FacebookBaseObject
    {
        [DataMember(Name="former_participants", EmitDefaultValue=true, IsRequired=false)]
        public FacebookList<FacebookBaseObject> FormerPartcipants { get; set; }

        [DataMember(Name = "message_count", EmitDefaultValue = true, IsRequired = false)]
        public int MessageCount { get; set; }

        [DataMember(Name = "message", EmitDefaultValue = true, IsRequired = false)]
        public FacebookList<FacebookBaseObject> Message { get; set; }

        [DataMember(Name = "participants", EmitDefaultValue = true, IsRequired = false)]
        public FacebookList<FacebookBaseObject> Participants { get; set; }

        [DataMember(Name = "senders", EmitDefaultValue = true, IsRequired = false)]
        public FacebookList<FacebookBaseObject> Senders { get; set; }

        [DataMember(Name = "snippet", EmitDefaultValue = true, IsRequired = false)]
        public string Snippet { get; set; }

        [DataMember(Name = "tags", EmitDefaultValue = true, IsRequired = false)]
        public FacebookList<string> Tags { get; set; }

        [DataMember(Name = "unread_count", EmitDefaultValue = true, IsRequired = false)]
        public int UnreadCount { get; set; }

        [DataMember(Name = "updated_time", EmitDefaultValue = true, IsRequired = false)]
        public string UpdatedTime { get; set; }
    }
}
